<?php if (!defined('THINK_PATH')) exit();?><div class="j_LazyloadCon fp-lazyload-con">
    <div id="footer" >
        <div class="tmall-ensure" ></div>
        <div class="footer-info">
            &copy; 2005-2017 鹭燕大药房 版权所有，并保留所有权利。
            <div></div>
            <div class="blank"></div>
            <script>
                $(function () {
                    isIe6 = false;

                    if ('undefined' == typeof(document.body.style.maxHeight)) {
                        isIe6 = true;
                    }
                    var offset = $("#topcontrol").offset();
                    var bottom = $("#topcontrol").css("bottom");
                    $(window).scroll(function () {
                        if ($(window).scrollTop() > 500) {
                            $("#topcontrol").fadeIn(800);

                            if (isIe6) {
                                $("#topcontrol").css("position", "absolute")
                                $("#topcontrol").css("bottom", bottom)
                            }
                        }
                        else {
                            $("#topcontrol").fadeOut(500);
                        }

                    });

                    $("#topcontrol #sider_returntop").click(function () {
                        $('body,html').animate({scrollTop: 0}, 500);
                        return false;
                    });


                    (function () {
                        $(".mui-lift-nav").click(function () {
                            $(".mui-lift-nav").removeClass("active");
                            $(this).addClass("active");
                            var index = $(".mui-lift-nav").index(this);
                            var top = $(".floor-title").eq(index).offset().top - 50;
                            $("body,html").stop().animate({scrollTop: top});
                        });


                        var arr = [];
                        $(".floor-title").each(function (i) {
                            arr[i] = $(this).offset().top;
                        });
                        //alert(arr);
                        $(window).scroll(function () {

                            var top = $(document).scrollTop();
                            for (var i = 0; i < arr.length; i++) {
                                if (top >= arr[i] && top < arr[i] + 100) {
                                    $(".mui-lift-nav").removeClass("active");
                                    $(".mui-lift-nav").eq(i).addClass("active");
                                }
                            }
                        });


                    })();

                })
            </script>
            <div id="Floatright_nav">
                <div class="Floatright_box">
                    <ul class="mui-tab">
                        <script src='//kefu.easemob.com/webim/easemob.js?'></script>
                        <li class="mui-mbar-tab-cart"><a href="<?php echo U(GROUP_NAME.'/Cart/index');?>"><i
                                class="i_sbar_cat"></i>
                            <p class="sbar_cart_text">购物车</p><i class="i_sbar_nub"
                                                                id="ECS_CARTINFO3"><?php echo ($cartCount); ?></i></a></li>

                        <a href="<?php echo U(GROUP_NAME.'/Order/showList');?>">
                            <li class="mui-mbar-tab-logo-asset">
                                <p class="left_conts">我的订单<span class="mui-mbar-arr">◆</span></p>
                            </li>
                        </a>
                        <a href="<?php echo U(GROUP_NAME.'/Order/rxList');?>">
                            <li class="tab-logo-brand">
                                <div class="left_conts">需求登记<span class="mui-mbar-arr">◆</span></div>
                            </li>
                        </a>
                        <li class="tab-logo-top" id="topcontrol2" style="display:none; overflow: visible;"><a
                                href="javascript:void(0);" id="sider_returntop2" style="display:block">
                            <div class="left_conts">返回顶部<span class="mui-mbar-arr">◆</span></div>
                        </a></li>
                    </ul>

                </div>
            </div>
            <script type="text/javascript">
                $(function () {

                    $(".mui-tab li").hover(function () {
                        $(this).addClass("on");
                        $(this).find(".left_conts").css("display", "block").stop(true, false).animate({
                            "right": 35,
                            "opacity": 1
                        }, 200);
                    }, function () {

                        $(this).removeClass("on");
                        $(this).find(".left_conts").stop(true, false).animate({
                            "right": 70,
                            "opacity": 0
                        }, 200, function () {
                            $(this).hide();
                        });


                    });

                    $(".logo-qrcode").hover(function () {
                        $(this).children(".mui-mbarp-qrcode-tip").css("visibility", "visible");
                    }, function () {
                        $(this).children(".mui-mbarp-qrcode-tip").css("visibility", "hidden");
                    });

                });
                //
                var h = $(".Floatright_box").height();
                $(".Floatright_box").css({"margin-top": -h / 2});
            </script>
            <script>
                $(function () {
                    isIe6 = false;

                    if ('undefined' == typeof(document.body.style.maxHeight)) {
                        isIe6 = true;
                    }
                    var offset = $("#topcontrol2").offset();
                    var bottom = $("#topcontrol2").css("bottom");
                    $(window).scroll(function () {
                        if ($(window).scrollTop() > 500) {
                            $("#topcontrol2").fadeIn(800);

                            if (isIe6) {
                                $("#topcontrol2").css("position", "absolute")
                                $("#topcontrol2").css("bottom", bottom)
                            }
                        }
                        else {
                            $("#topcontrol2").fadeOut(500);
                        }

                    });

                    $("#topcontrol2,#sider_returntop2").click(function () {
                        $('body,html').animate({scrollTop: 0}, 500);
                        return false;
                    });
                })
            </script>

            <script type="text/javascript">
                var button_compare = '';
                var exist = "您已经选择了%s";
                var count_limit = "最多只能选择4个商品进行对比";
                var goods_type_different = "\"%s\"和已选择商品类型不同无法进行对比";
                var compare_no_goods = "您没有选定任何需要比较的商品或者比较的商品数少于 2 个。";
                var btn_buy = "购买";
                var is_cancel = "取消";
                var select_spe = "请选择商品属性";
            </script>
        </div>
    </div>
</div>